package com.quartet.modules.vehicle.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.quartet.modules.vehicle.dto.TRelocationInfoAddRequestDto;
import com.quartet.modules.vehicle.entity.TRelocationInfo;

/**
 * 移机信息表(TRelocationInfo)表服务接口
 *
 * @author makejava
 * @since 2021-05-04 16:44:49
 */
public interface TRelocationInfoService extends IService<TRelocationInfo> {

    /**
     * 添加移机信息
     * @param tRelocationInfoAddRequestDto
     */
    void addRelocationInfo(TRelocationInfoAddRequestDto tRelocationInfoAddRequestDto);

    /**
     * 功能描述: 修改移机信息
     * @author huipanxing huipanxing@chinasofti.com
     * @date 2021/5/13 16:16
     * @param tRelocationInfoAddRequestDto
     * @return void
     */
    void updateRelocationInfo(TRelocationInfoAddRequestDto tRelocationInfoAddRequestDto);

    /**
     * 根据车辆编码删除移机信息
     * @param vehicleCode
     */
    void deleteRelocationInfo(String vehicleCode);

    /**
     * 根据车辆编码查询移机信息
     * @param vehicleCode
     * @return
     */
    TRelocationInfoAddRequestDto selectRelocationInfo(String vehicleCode);
}
